﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BusinessClass.StateMachine.Core;
using BusinessClass.StateMachine.Core.Types;

namespace BusinessClass.StateMachine
{
    public class PackageState : ISate<Unit>
    {
        public string WorkingDir { get; private set; }
        public string ExeName { get; private set; }
        public PackageState(string workingDir, string exeName)
        {
            WorkingDir = workingDir;
            ExeName = exeName;
        }
        public Unit Accept(Machine m)
        {
            return m.VisitPackage(this);
        }
    }
}
